<?php

declare(strict_types=1);

namespace App\CustHub\Model;

use Mine\MineModel;

/**
 * @property int $room_broadcast_id 群转播方案ID
 * @property int $room_id 群ID
 * @property int $source_id 数据源ID
 * @property int $listen_robot_id 监听微号ID
 * @property array $speaker_ids 主讲人ID
 */
class ChRoomBroadcastConfig extends MineModel
{
    public bool $timestamps = false;
    /**
     * The table associated with the model.
     */
    protected ?string $table = 'ch_room_broadcast_config';

    /**
     * The attributes that are mass assignable.
     */
    protected array $fillable = ['room_broadcast_id', 'room_id', 'source_id', 'listen_robot_id', 'speaker_ids'];

    /**
     * The attributes that should be cast to native types.
     */
    protected array $casts = ['room_broadcast_id' => 'integer', 'room_id' => 'integer', 'source_id' => 'integer', 'listen_robot_id' => 'integer', 'speaker_ids' => 'array'];
}
